package linuxbox.resource.logic;

public class BoxResourceCatEntry
{
  protected int m_iID = 0;
  protected String m_sName = "";
  protected String m_sDescription = "";

  public void copyFrom(BoxResourceCatEntry entry)
  {
    m_iID = entry.getID();
    m_sName = entry.getName();
    m_sDescription = entry.getDescription();
  }

  public int getID()
  {
    return m_iID;
  }

  public void setID(int id)
  {
    m_iID = id;
  }

  public String getName()
  {
    return m_sName;
  }

  public void setName(String str)
  {
    m_sName = str;
  }

  public String getDescription()
  {
    return m_sDescription;
  }

  public void setDescription(String str)
  {
    m_sDescription = str;
  }

  public String toString()
  {
   String s = "id=" + m_iID
                + ", m_sName=" + m_sName
               + ", m_sDescription=" + m_sDescription
               + "\n";
   return s;
 }
}

